package bookstore.database.pojo;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Image entity. @author MyEclipse Persistence Tools
 */

public class Image implements java.io.Serializable {

	// Fields

	private BigDecimal imageId;
	private String imagePath;
	private Set books = new HashSet(0);

	// Constructors

	/** default constructor */
	public Image() {
	}

	/** minimal constructor */
	public Image(BigDecimal imageId, String imagePath) {
		this.imageId = imageId;
		this.imagePath = imagePath;
	}

	/** full constructor */
	public Image(BigDecimal imageId, String imagePath, Set books) {
		this.imageId = imageId;
		this.imagePath = imagePath;
		this.books = books;
	}

	// Property accessors

	public BigDecimal getImageId() {
		return this.imageId;
	}

	public void setImageId(BigDecimal imageId) {
		this.imageId = imageId;
	}

	public String getImagePath() {
		return this.imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public Set getBooks() {
		return this.books;
	}

	public void setBooks(Set books) {
		this.books = books;
	}

}